﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<ChoViet.Site.ViewModels.TopNewsViewModel>" %>
<div class="tt_r_hd">
    <span>Tin nổi bật</span></div>
<div class="new">
    <ul>
    
    <%  if (Model.Articles.Count() >= 4)
        {
            for(int i= 4; i< Model.Articles.Count(); i++)
            {%>
        <li><a href="/Article/Details/<%=Model.Articles[i].ID%>"><%= Model.Articles[i].Title.Length >= 150 ? Model.Articles[i].Title.Substring(0, 150) + "..." : Model.Articles[i].Title%></a></li>
        <%}}%>
    </ul>
</div>
